﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 工作日志
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2019-12-17 
    /// </summary>
    [Table("EXT_WORKLOG")]
    public class WorkLogEntity
    {
        /// <summary>
        /// Id
        /// </summary>
        /// <returns></returns>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 日志标题
        /// </summary>
        /// <returns></returns>
        [Column("F_TITLE")]
        public string Title { get; set; }
        /// <summary>
        /// 今天内容
        /// </summary>
        /// <returns></returns>
        [Column("F_TODAYCONTENT")]
        public string TodayContent { get; set; }
        /// <summary>
        /// 明天内容
        /// </summary>
        /// <returns></returns>
        [Column("F_TOMORROWCONTENT")]
        public string TomorrowContent { get; set; }
        /// <summary>
        /// 遇到问题
        /// </summary>
        /// <returns></returns>
        [Column("F_QUESTION")]
        public string Question { get; set; }
        /// <summary>
        /// 发送给谁
        /// </summary>
        /// <returns></returns>
        [Column("F_TOUSERID")]
        public string ToUserId { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        /// <returns></returns>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        /// <returns></returns>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
        /// <summary>
        /// 有效标志
        /// </summary>
        /// <returns></returns>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        /// <returns></returns>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        /// <returns></returns>
        [Column("F_CREATORUSERID")]
        public string CreatorUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        /// <returns></returns>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        /// <returns></returns>
        [Column("F_LASTMODIFYUSERID")]
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        /// <returns></returns>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        /// <returns></returns>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除用户
        /// </summary>
        /// <returns></returns>
        [Column("F_DELETEUSERID")]
        public string DeleteUserId { get; set; }
    }
}